home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / map / cdn100.exe / CDN.DOC < prev    next >
Text File  |  1993-09-25  |  36KB  |  769 lines

  1.                     CHANGE DIRECTORY / NETWORK  (CDn)  v1.0
  2.  
  3.                 Automatic drive mapping for your Novell network
  4.  
  5.             Copyright (C) by Barry Brevik 1993, all rights reserved
  6.                                 711 Calle Cardo
  7.                             Thousand Oaks, CA 91360
  8.                                 CIS 70132,2277
  9.  
  10.          Novell and NetWare are registered trademarks of Novell, Inc.
  11.        Microsoft is a registered trademark and Windows is a trademark of
  12.                             Microsoft Corporation.
  13.          CDn is not in the public domain- see SHAREWARE NOTICE below.
  14.  
  15.                   This user's guide dated September 25, 1993
  16.  
  17.  
  18.       OVERVIEW
  19.       --------
  20.       Maybe  you  are  a  network user who is tired of dealing  with  the
  21.       hassles  of  network drive mapping, or perhaps you  are  a  network
  22.       supervisor  who is astounded by the number and variety of  problems
  23.       related to improper drive mapping.  CDn takes a concept that should
  24.       be  simple  and  makes it simple again.  CDn is  a  Novell  NetWare
  25.       specific application that makes it easy for anyone to automatically
  26.       map  and de-map network drives from inside a batch file or from the
  27.       command  line.  One of CDn's unique features is that  it  will  not
  28.       only  find  the next available drive letter automatically,  but  it
  29.       will map your target path to it and then take you there!
  30.  
  31.       INSTALLATION
  32.       ------------
  33.       To  install CDn, copy it to a drive and directory that will  always
  34.       be  in  your  path.   On my network I placed it in  the  SYS:PUBLIC
  35.       directory  which  makes it available to all workstations  that  are
  36.       logged in.  I also placed it on all machines that have a local hard
  37.       disk  in  the  C:\DOS  directory which makes it  accessible  before
  38.       logging in.
  39.  
  40.       HOW TO USE CDn
  41.       --------------
  42.       All  of CDn's functions are detailed in this document, but you  can
  43.       get  started  right away by reading the short command  summary  and
  44.       examples below.  CDn's strong point is it's simplicity- users  have
  45.       been known to find it addicting.
  46.  
  47.       CDn's  purpose in life is to map network drives easily, efficiently
  48.       and quietly, so think of a network path you would like to visit and
  49.       let  CDn  take  you  there.  Type your target  destination  on  the
  50.       command  line in "VOLUME:PATH" or "FILESERVER/VOLUME:PATH"  format.
  51.       Don't worry about drive letters- CDn will automatically select  the
  52.       first  available  drive.  So, try these examples substituting  your
  53.       own target paths...
  54.  
  55.       cdn sys:home\jeff\backup    Makes that path current on the
  56.                                   default file server.
  57.       cdn phantom/sys:apps        Now add a specific file server.
  58.                                     page 1
  59.  
  60.       cdn fs1/william             Let's go to a specific user's mail
  61.                                   directory on a specific file server.
  62.  
  63.       Note that by default, CDn will try to re-map an existing drive that
  64.       is  already mapped to the target volume.  In other words, if  there
  65.       is a drive G: mapped as
  66.  
  67.           sys:public\apps\wordproc
  68.       
  69.       and you enter
  70.       
  71.           cdn sys:public\mail
  72.       
  73.       then  CDn will re-map drive G: as "sys:public\mail".  You can force
  74.       CDn  to  map  an unused drive letter by using the "-N" switch  (see
  75.       COMMAND  LINE  OPTIONS  below).  This  feature  prevents  you  from
  76.       quickly  depleting the supply of drive letters.  Also, if there  is
  77.       no  drive currently mapped to the target volume, CDn will use a new
  78.       drive  letter  automatically, even without the  "-N"  switch.   CDn
  79.       works  across  all file servers you are attached to if  you  prefix
  80.       your  target  path  with  a file server  name.   In  the  following
  81.       examples, statements following ";" characters are comments for  the
  82.       examples  only- you cannot put comments in a real batch file  using
  83.       this method.  Now, on to some specific examples.
  84.       
  85.       EXAMPLE-  WHERE THE HECK IS \LOGIN?
  86.       -----------------------------------
  87.       You have probably noticed that as you move from machine to machine,
  88.       the  login  drive changes, or if you login on drive F: then  map  a
  89.       bunch  of  drives and end up logging out on drive  H:,  your  login
  90.       drive  is  no  longer F:-  it has become H: and F: is now  invalid.
  91.       You  can  use one of CDn's special command line switches to  handle
  92.       this  situation.  Just enter "CDn -L" and you will always  land  in
  93.       the login directory whether you are already logged in or not.  Here
  94.       is  an example of a batch file that will put you or your users into
  95.       a tight login loop:
  96.       
  97.           @ echo off
  98.           :top
  99.           cls
  100.           cdn -l                          ; find LOGIN drive and dir.
  101.           login                           ; execute the LOGIN program.
  102.           if errorlevel 1 goto lerror     ; if LOGIN failed...
  103.           cdn -s                          ; check LOGIN status.
  104.           if errorlevel 1 goto top        ; if not logged, start over.
  105.           cls
  106.           who                             ; show version status and
  107.           pause                           ;   capture status.
  108.           cdn -sh                         ; show drive maps.
  109.           goto end                        ; exit this batch.
  110.       
  111.           :lerror                         ; if here, we failed to LOG IN.
  112.           pause                           ; pause to see error message.
  113.           goto top                        ; start over.
  114.           :end
  115.  
  116.  
  117.                                     page 2
  118.  
  119.       
  120.       Note  how  we  use  "cdn -s" to determine if we  have  successfully
  121.       logged  in.   We  don't  really want to change  to  SYS:SYSTEM  but
  122.       knowing  that CDn will return a non-zero errorlevel if we  are  not
  123.       logged in allows us to use this utility for an extra purpose.
  124.       
  125.       EXAMPLE- HOW DO I FIND MY MAIL DIRECTORY?
  126.       -------------------------------------------
  127.       An  easy way to view or edit your login script without using SYSCON
  128.       is to change to your SYS:MAIL directory and look at the file called
  129.       LOGIN.  Unfortunately, the mail directories are all named with your
  130.       user  id, something like "SYS:MAIL\160FD7".  If you enter a  single
  131.       word  which is a user name on the command line, CDn will  scan  the
  132.       file  server's  Bindery and evaluate the user name to  that  user's
  133.       mail directory.  For example, the command-
  134.       
  135.           cdn william
  136.       
  137.       will  map  a drive letter to William's mail directory and take  you
  138.       there.  You can also prefix your user name with a file server  name
  139.       like this-
  140.       
  141.           cdn phantom/william
  142.       
  143.       
  144.       EXAMPLE-  WHERE IS MY PROGRAM?
  145.       ------------------------------
  146.       Let's  say  you have an application that requires some data  to  be
  147.       downloaded or translated before you start it up.  You know the file
  148.       server, volume and path you want to process the data in, but on any
  149.       given machine, the actual drive letter is any body's guess.  Let us
  150.       further  suppose that you want to create a batch file  to  make  it
  151.       easy  for  the  average user to start up this application  and  you
  152.       would like to have that same batch file work on any machine in  the
  153.       company.  You COULD create a batch file that maps a specific  drive
  154.       letter  such  as M: and then map/deletes the drive when  done.   Of
  155.       course,  if  drive  M: is already in use then re-mapping  it  would
  156.       destroy  the  context of the current configuration.  CDn  lets  you
  157.       leave  the current drive maps undisturbed.  In this example, we  go
  158.       to   some   specific   directory  and  download   a   file   called
  159.       "OURDATA.DAT", then fire up a database application to  process  the
  160.       results.   Far  from  being hypothetical, there are  several  batch
  161.       processes similar to this being run on my network daily.
  162.       
  163.           cdn -c                           ; clears the resident buffer
  164.           cdn accounting:accdata -n        ; maps new drive
  165.           dnload OURDATA.DAT
  166.           cdn sys:public\dblogin -n        ; maps new drive
  167.           xbase xlat
  168.           cdn -r                           ; removes both new drives
  169.       
  170.       That's  it!  In this example, we have mapped two previously  unused
  171.       drive  letters  and then automatically removed them when  finished.
  172.       This  prevents  the buildup of drive maps you are no longer  using.
  173.       Note  that  CDnMEM must be loaded to use the "-c" and "-r"  switch-
  174.       see "THE CDnMEM RESIDENT BUFFER" below.
  175.  
  176.                                     page 3
  177.  
  178.       EXAMPLE- CHECK YOUR FILE SERVER CONNECTIONS
  179.       -------------------------------------------
  180.       Many  times,  it  is  important to know that you  are  attached  to
  181.       certain  file  servers before starting up an application  to  avoid
  182.       
  183.       "file not found" and other similar errors.  You can use CDn in your
  184.       batch  to confirm that you are indeed attached to the file  servers
  185.       you  require.   In this example, we skip from file server  to  file
  186.       server checking our status as we go...
  187.       
  188.           cdn -c
  189.           cdn ojai/sys:
  190.           if errorlevel 1 goto error
  191.           cdn ventura/sys:
  192.           if errorlevel 1 goto error
  193.           cdn goleta/sys:
  194.           if errorlevel 1 goto error
  195.       
  196.           xBASE myapp
  197.           goto end
  198.       
  199.           :error
  200.           echo Must be attached to servers OJAI, VENTURA and GOLETA.
  201.           :end
  202.           cdn -r
  203.       
  204.       With a little imagination, CDn can be used to automate all sorts of
  205.       tasks on your network.
  206.       
  207.       MULTIPLE FILE SERVERS
  208.       ---------------------
  209.       If you are using CDn in a multiple file server environment, you can
  210.       add the file server name to the target path like this:
  211.       
  212.           cdn fs2/sys:\public\messages
  213.       
  214.       Just  as  with the MAP command, you must be attached to the  target
  215.       file  server before you can map any drives to it.  If you  are  not
  216.       attached, map will stop and ask for a login name and password.   In
  217.       contrast,  CDn  was  designed to operate in batch  files  and  will
  218.       terminate with an error code if you are not attached to the  target
  219.       server.   Also note that CDn understands MS-NET style network  path
  220.       syntax.  All of the following examples mean the same thing to CDn:
  221.       
  222.           cdn fs1/sys:mail
  223.           cdn fs1\sys:mail
  224.           cdn \\fs1\sys\mail
  225.       
  226.  
  227.  
  228.       COMMAND LINE OPTIONS
  229.       --------------------
  230.       Other  than a network path or user name, CDn also responds  to  the
  231.       following switches.  These switches should appear by themselves  on
  232.       the  command  line-  in other words, adding  these  switches  to  a
  233.       network path would be an invalid command.
  234.       
  235.                                     page 4
  236.  
  237.       -L  Changes to SYS:LOGIN on default file server.
  238.       -P  Changes to SYS:PUBLIC on default file server.
  239.       -S  Changes to SYS:SYSTEM on default file server.
  240.       -SH SHows current network drive map list.
  241.       -Dx Deletes a drive mapping where x is the drive letter.
  242.       
  243.       If CDnMEM is loaded...
  244.       -C  Clears the memory resident new drive list without deleting any
  245.           drive mappings.
  246.       -R  Removes all entries in the memory resident drive buffer and
  247.           deletes the corresponding drive mappings.
  248.       
  249.       One  important  switch works in combination with any other  command
  250.       line option.  The "-N" switch forces CDn to map a NEW drive even if
  251.       there is a drive already mapped to your target volume.
  252.       
  253.       DELETING DRIVE MAPS FROM A BATCH FILE
  254.       -------------------------------------
  255.       You  might ask "what if I delete the current drive?".  If  you  are
  256.       running  a  batch file, you have no way of determining if  you  are
  257.       deleting the current drive, so what happens?  Nothing; the  NetWare
  258.       shell just makes another drive current, usually a local drive.   In
  259.       any  case,  you don't have to worry about being bumped  to  another
  260.       drive  after deleting a map because CDn can always take  you  to  a
  261.       known location.
  262.       
  263.       COMPATIBILITY
  264.       -------------
  265.       CDn  coexists peacefully with the NetWare MAP command.  Any  drives
  266.       created  with the MAP command can be remapped or deleted  with  CDn
  267.       and  any drives created by CDn can be remapped or deleted with  the
  268.       MAP  command.   If  you are using the CDnMEM resident  buffer,  any
  269.       drives  deleted  by MAP are automatically removed from  the  buffer
  270.       while  drives  created by MAP are NOT automatically  added  to  the
  271.       buffer.
  272.       
  273.       THE CDnMEM RESIDENT BUFFER
  274.       --------------------------
  275.       CDn  comes  with  a  companion utility,  CDnMEM.COM.   This  is  an
  276.       extremely benign and well behaved TSR that uses only 256  bytes  of
  277.       RAM  when  resident.   CDnMEM does not grab any interrupt  vectors,
  278.       does  not  "pop-up" or in any other way interact with  the  system.
  279.       The  sole  purpose of CDnMEM is to "remember" new drives  that  are
  280.       created  by CDn.  Whenever CDn creates a NEW drive letter, it  adds
  281.       that drive to the resident buffer.  CDnMEM is easy to install-
  282.       
  283.           cdnmem /i
  284.       
  285.       typed  on the command line or added to your AUTOEXEC.BAT file  will
  286.       do  the  trick.   Because  it  is so  unobtrusive,  CDnMEM  can  be
  287.       uninstalled at any time by typing:
  288.       
  289.           cdnmem /u
  290.       
  291.       even  if  other TSR's have been loaded on top of it.  You can  even
  292.       install CDnMEM at the beginning of a batch file, use CDn to map and
  293.  
  294.                                     page 5
  295.  
  296.       remove  drive letters, and then uninstall it as you exit the  batch
  297.       file.   CDnMEM will not install another copy of itself  if  it  has
  298.       already been loaded.
  299.  
  300.       When  CDnMEM  is  installed,  there  are  two  additional  switches
  301.       available to CDn-
  302.       
  303.       The  "-r"  switch will remove (un-map) any drive mappings that  are
  304.       retained in the resident buffer.
  305.       
  306.       The  "-c"  switch will clear any drives in the resident buffer-  in
  307.       other words, it will reset the buffer to blanks but it will not un-
  308.       map  any of the drives.  This is useful when you want to create and
  309.       delete  drive mappings in a batch file and you want to be sure  you
  310.       are  starting with a blank slate.  Just add this line to the  start
  311.       of your batch file.
  312.       
  313.           cdn -c
  314.       
  315.       CDnMEM  can  be "loaded high" if  your  DOS version  or third party
  316.       memory manager (such as QEMM) supports a loadhi function.  See your
  317.       DOS manual or memory manager documentation  for  an  explanation of
  318.       how to load programs high.
  319.  
  320.       A WORD ABOUT WINDOWS
  321.       --------------------
  322.       If  you  are using Microsoft Windows you can still use CDn with  no
  323.       problem.   By  default, Windows tries to isolate  tasks  from  each
  324.       other which results in some strange behavior-  if you create a  new
  325.       drive  with  CDn  or  MAP  in a DOS box, that  drive  will  not  be
  326.       available  to  any other Windows tasks, and when you quit  Windows,
  327.       any  drives  you  created will have disappeared.   Sometimes,  this
  328.       might  seem  like a nice feature, but if you do want to share  your
  329.       drive  maps  across Windows tasks, you can change  the  default  by
  330.       editing  your  SYSTEM.INI file.  You can easily edit this  file  by
  331.       clicking  on  FILE/RUN from Program Manager, type  SYSEDIT  on  the
  332.       command  line,  and click OK.  Four cascaded windows  will  appear-
  333.       click  on  the  one  titled SYSTEM.INI.   Search  for  the  heading
  334.       [NetWare].  If you can not find it, just add it to the end  of  the
  335.       file.  Add one or both of the following lines under this heading.
  336.       
  337.           [NetWare]
  338.           NWSHAREHANDLES=TRUE
  339.       
  340.       Add this line to share drive maps between tasks.
  341.       
  342.           RESTOREDRIVES=FALSE
  343.       
  344.       Add this line to retain drive maps you have created or deleted when
  345.       you leave Windows.
  346.       
  347.       
  348.       If you use CDnMEM,  you should load  it before starting up Windows.
  349.       Since  you  can  only  load  one  copy of CDnMEM, trying to load it
  350.       repeatedly  from  multiple DOS sessions  will  fail.   When you use
  351.       CDnMEM from a DOS session, also note that all DOS windows share the
  352.  
  353.                                     page 6
  354.  
  355.       same resident buffer, so if you add drive G: (for example) from DOS
  356.       session 1,  it  will appear in the resident buffer of DOS session 2
  357.       even  if  drive G:  does  not  exist  in that session.  This is not
  358.       necessarily a problem,  but you should be aware of this behavior on
  359.       the off chance  that  you  will run  more than 1  batch  file  that
  360.       creates and deletes drives in simultaneous DOS sessions.
  361.  
  362.       USING CDn IN LOGIN SCRIPTS
  363.       --------------------------
  364.       You  can use CDn in NetWare login scripts.  Just add a line to your
  365.       login script like this (for example):
  366.       
  367.           #sys:public\cdn sys:\
  368.       
  369.       There  is no compelling reason to do this and one reason not to  do
  370.       it.   If  you  replace  all  of  your "MAP  *1:=SYS:\"  lines  with
  371.  
  372.       "#CDN..." commands, LOGIN.EXE somehow reserves that first drive and
  373.       you  end  up with one drive (the first one) that remains mapped  to
  374.       SYS:LOGIN with a fake root.
  375.  
  376.       ADDED CONVENIENCE FEATURES
  377.       -------------------------------------------------------------------
  378.       CDn  has  several  added features that are not  essential  to  it's
  379.       functionality, but helpful when you use CDn on a regular basis.
  380.       
  381.       DELETE A DRIVE MAP
  382.       ------------------
  383.       You  can  delete  a specific drive mapping without  using  the  MAP
  384.       command like this:
  385.       
  386.           cdn -dk
  387.       
  388.       This  command  will delete the mapping for drive  K:  (the  ":"  is
  389.       optional).
  390.       
  391.       VIEW DRIVE MAPPINGS
  392.       -------------------
  393.       You can view your current drive mappings by entering:
  394.       
  395.           cdn  or  cdn -sh
  396.       
  397.       This is like typing "map" except the output is trimmed to show only
  398.       network drives.  If you have a busy PATH set up, this can be a nice
  399.       feature.  Any drives with a fake root mapping will have the message
  400.       "[fake  root]" appended.  Additionally, if CDnMEM is loaded and  it
  401.       contains  any  drive  letters, a message will appear  showing  what
  402.       drives  are currently in the buffer.  This is also a handy  way  to
  403.       check  your login status- when I want to see if I am logged  in,  I
  404.       also want to see where my drives are mapped.  Generally, if you see
  405.       only one drive mapped and it points to SYS:LOGIN, then you are  not
  406.       logged in to a file server.
  407.       
  408.  
  409.  
  410.  
  411.  
  412.                                     page 7
  413.  
  414.       QUICK ACCESS TO \PUBLIC, \SYSTEM AND \LOGIN
  415.       -------------------------------------------
  416.       Three  switches,  "-P",  "-S"  and  "-L"  will  take  you  to   the
  417.       SYS:\PUBLIC, SYS:\SYSTEM or SYS:\LOGIN directories on  the  current
  418.       file server.  Note that you cannot specify a target file server for
  419.       these special options-  CDn will always use the default file server
  420.       with these switches.
  421.       
  422.       SWITCH CHARACTERS
  423.       -----------------
  424.       You  can  use the "/" or the "-" character when specifying  command
  425.       line  options.  Also, command line options can be upper case, lower
  426.       case or mixed.
  427.       
  428.       ABSOLUTE AND RELATIVE PATHS
  429.       ---------------------------
  430.       CDn  also handles relative paths and paths with drive letters  just
  431.       like the "CD" command.  CDn however, will change both the drive and
  432.       the  path  at  the  same time.  These are all  valid  CDn  commands
  433.       (provided the drives and paths exist):
  434.       
  435.           cdn c:\windows
  436.           cdn ..\..\users
  437.           cdn .\develop\source
  438.           cdn \windows\system
  439.       
  440.       Note  that the relative path format "cdn windows" is not supported-
  441.       if  a  path  does not start with a file server name,  volume  name,
  442.       drive  letter, ".", or "\" CDn assumes you are asking for a  user's
  443.       mail directory.
  444.  
  445.       REDIRECTION
  446.       -----------
  447.       The  display output of CDn can be routed to a text file or  printer
  448.       using standard DOS redirection like this:
  449.       
  450.           cdn sys:home\mary > maps.txt
  451.       
  452.       
  453.       THINGS THAT CDn WILL NOT DO
  454.       ---------------------------
  455.       You  can  not use CDn to map a SEARCH drive.  This feature will  be
  456.       available in version 2.0 (see "THINGS TO COME" below).
  457.       
  458.       You can not use CDn to "map root" a drive.
  459.       
  460.       You  can  not map a specific drive letter- use the MAP command  for
  461.       this purpose (example "map g:=fs1/sys:\public").
  462.       
  463.       MESSAGES
  464.       --------
  465.       In normal use, CDn displays very few informational messages.  If an
  466.       error  occurs,  however, there are a number of error messages  that
  467.       may be displayed.  All error messages also result in a non zero DOS
  468.       errorlevel return inside a batch file.  The following is a list  of
  469.       possible messages.
  470.       
  471.                                     page 8
  472.  
  473.       INFORMATIONAL MESSAGES (no error)
  474.       ---------------------------------
  475.       New drive mapped as X:
  476.         Any time CDn maps a previously unused drive letter this message
  477.         will be displayed replacing "X" with the actual drive letter.
  478.       
  479.       The mapping for drive X: has been deleted.
  480.         Any time you delete a drive map with the "-d" or the "-r" switch
  481.         this message will be displayed replacing "X" with the actual
  482.         drive letter.
  483.       
  484.       Resident buffer has not been loaded.
  485.       Resident buffer was empty- no drive mappings have been deleted.
  486.       Resident buffer was already clear.
  487.       Resident buffer has been cleared only- no drive mappings have  been
  488.       deleted.
  489.         These messages will appear when you invoke CDn with the "-r" or
  490.         the "-c" switch and the CDnMEM buffer is either not loaded or is
  491.         empty.
  492.       
  493.       ERROR MESSAGES, COMMON
  494.       ----------------------
  495.       User not logged in.
  496.       Specified path is invalid.
  497.       NetWare shell is not loaded.
  498.       Specified  volume is invalid -  volume names have a maximum  of  16
  499.         characters.
  500.       Specified volume does not exist.
  501.       Specified file server is invalid.
  502.       You are not attached to known file server FS2
  503.       Cannot map NEW drive...  all permanent drives are currently mapped.
  504.       Cannot  map SYS: volume...  all available drives are mapped  either
  505.       as SEARCH drives, or to a volume other than SYS:.
  506.       Cannot map target volume...  all available drives are mapped either
  507.       as SEARCH drives, or to a volume other than the target.
  508.       No such user in Bindery - JAMES
  509.       User does not have a mail directory - JAMES
  510.       drive is not in the range "A-Z".
  511.       drive is not a network drive.
  512.       drive is a SEARCH drive.
  513.       
  514.       ERROR MESSAGES, UNCOMMON
  515.       ------------------------
  516.       With  the  exception of the "NetWare shell not loaded"  message,  I
  517.       have  never  seen  these  messages  except  under  simulated  error
  518.       conditions.
  519.       
  520.       Must be running NetWare v2.10 or better.
  521.       Must have NetWare shell v3.01 or better.
  522.       Insufficient memory to run.
  523.       Existing  network drive found, but CDn could not  make  that  drive
  524.       current.
  525.       Unable to map drive X:
  526.       Cannot delete mapping for drive J:...
  527.       You are connected, but not attached to the specified file server.
  528.       Specified drive does not exist.
  529.       Could not allocate space in resident memory buffer.
  530.                                     page 9
  531.  
  532.       RELIABILITY
  533.       -----------
  534.       CDn has been tested extensively on a NetWare v2.15 dual file server
  535.       system- this is a 35 user production network on which CDn has  been
  536.       in daily use for about six months at the time of this writing.  CDn
  537.       has also had limited testing under NetWare 2.2, 3.11 and 4.01.  CDn
  538.       has  been  tested  under several workstation OS versions  including
  539.       MSDOS  3.3, 5.0 and 6.0.  Final testing was performed by myself  on
  540.       the 43 file server WAN at ABC studios in Hollywood, CA.
  541.       
  542.       CDn  has  CTRL/C  and CTRL/BREAK handlers to avoid  the  unpleasant
  543.       results of unexpected termination.  In keeping with the intent of a
  544.       batch file utility, there are no messages which require a keystroke
  545.       to  clear.   Specifically,  the usage message  which  has  multiple
  546.       screens  will  pause for 2 seconds between screens, and  will  then
  547.       automatically  continue.   Also, the registration  reminder  screen
  548.       will  pause  for 2 seconds.  The registration reminder screen  does
  549.  
  550.  
  551.       not  show every time the program is run, but is semi random.   When
  552.       you  register,  you  receive a copy of  CDn  without  the  reminder
  553.       screen.
  554.       
  555.       DOS ERRORLEVEL RETURNS
  556.       ----------------------
  557.       Here  is  a list of the possible errorlevel return codes.  Most  of
  558.       the time, you will probably not need (or want) to get this detailed
  559.       in your batch file.  Personally, I usually check for errorlevel = 1
  560.       which will trap them all.
  561.  
  562.       
  563.        1   insufficient DOS version.
  564.        2   insufficient memory.
  565.        3   syntax error (shows USAGE message).
  566.        4   NetWare shell is not loaded.
  567.        5   user is not logged.
  568.        6   insufficient NetWare OS or NetWare shell version.
  569.        7   invalid file server.
  570.        8   you are not attached to target server.
  571.        9   undefined.
  572.       10   invalid volume.
  573.       11   user has no mail directory.
  574.       12   path is invalid.
  575.       13   could not map.
  576.       14   no free drives.
  577.       
  578.       SYSTEM REQUIREMENTS
  579.       -------------------
  580.       To  run  CDn,  your file server(s) and workstations must  meet  the
  581.       following conditions:
  582.       
  583.       Workstation must be running MSDOS v3.0 or better.
  584.       NetWare shell must be v3.01 or better.
  585.       File server must be running Advanced NetWare v2.10 or better.
  586.       
  587.  
  588.  
  589.                                     page 10
  590.  
  591.       THINGS TO COME
  592.       --------------
  593.       Version  2.0  is already under development and some of the  planned
  594.       enhancements are:
  595.       
  596.       Create  and  delete SEARCH drives automatically.  CDn  will  handle
  597.       updating your path.
  598.       
  599.       LAUNCH applications by knowing their volume:path.  For example, you
  600.       can  type "CDn data:word\john" to get to a data directory and  then
  601.       "CDn  -xsys:public\apps\wordproc" to  launch  an  application  from
  602.       where you are.
  603.       
  604.       Copy  files  between different directories, volumes  or  even  file
  605.       servers automatically.
  606.       
  607.       CDn  version 2.0 is planned for release in Jan, 1994.  The only way
  608.       to  receive version 2.0 is to register this version-  v2.0 will not
  609.       be available on bulletin boards.
  610.       
  611.       
  612.       SHAREWARE NOTICE
  613.       ----------------
  614.       CDn  is  copyrighted software distributed as shareware and  may  be
  615.       used  on  a 30-day free trial basis.  If at the end of 30 days  you
  616.       find  CDn to be useful and you wish to continue it's use, you  must
  617.       register your copy based on the fee plan shown below.  You  do  not
  618.       need  to  wait the full 30 days if you have made your decision  and
  619.       wish to receive the distribution diskette as soon as possible.
  620.       
  621.       When  you register, you will receive a printed user's guide plus  a
  622.       copy  of  the  latest version of CDn on diskette.  The distribution
  623.       diskette  also contains a few minor networking utilities  that  you
  624.       may find useful.
  625.       
  626.       You  are permitted to make multiple copies of CDn for use within  a
  627.       single  business or organization up to the limit specified  by  the
  628.       license agreement
  629.       
  630.       Shareware  disk  and CD-ROM vendors, user groups,  computer  clubs,
  631.       bulletin  board systems and individuals are permitted to  copy  and
  632.       distribute  CDn  for others to try on a 30-day  free  trial  basis,
  633.       provided that the program is unmodified and is accompanied by  this
  634.       user's  guide.  A reasonable fee may be charged for media, copying,
  635.       and shipping and handling.
  636.       
  637.       
  638.       HOW TO REGISTER
  639.       ---------------
  640.       To  register your copy of CDn send your name and the address  where
  641.       you receive U.S. mail together with your payment and a copy of page
  642.       one of this user's guide to:
  643.       
  644.                                  Barry Brevik
  645.                                 711 Calle Cardo
  646.                            Thousand Oaks, CA  91360
  647.       
  648.                                     page 11
  649.  
  650.       There  is no charge for shipping and handling.  Please specify  the
  651.       diskette  size  you want (5.25" or 3.5").  You  may  pay  by  cash,
  652.       check, money order, or postal money order, in U.S. dollars.  Checks
  653.       and money orders must be drawn on a U.S. bank.
  654.       
  655.       Registered  users  will receive a fresh copy of CDn  that  has  the
  656.       registration  reminder  screen removed resulting  in  the  smallest
  657.       possible on-disk size.  Additionally, registered users will receive
  658.       a free upgrade to version 2.0 (see THINGS TO COME above) as soon as
  659.       it  is  available.  Version 2.0 will not be available  on  bulletin
  660.       boards.
  661.       
  662.                     +------------------------------------+
  663.                     |            Fee schedule            |
  664.                     +-------------------------+----------+
  665.                     |  1 or 2 file servers    |  $24.00  |
  666.                     |    unlimited users      |          |
  667.                     +-------------------------+----------+
  668.                     | 3 or more file servers  |  $39.00  |
  669.                     |    unlimited users      |          |
  670.                     +-------------------------+----------+
  671.  
  672.       SUPPORT POLICY
  673.       --------------
  674.       Registered  users of CDn are entitled to support at  no  additional
  675.       cost  for  a minimum of three months from the date of registration.
  676.       Within this time, the author, when contacted via CompuServe or U.S.
  677.       mail  will  answer  questions regarding the use  of  CDn  and  will
  678.       attempt  to correct any failure by CDn to function as described  in
  679.       this  user's  guide.  If during the three month period the  problem
  680.       cannot  be  corrected,  even  if  that  problem  is  caused  by  an
  681.       incompatibility  in  the  user's  specific  hardware  or   software
  682.       environment, the user may request and will receive a full refund of
  683.       the registration fee.
  684.       
  685.       FEEDBACK
  686.       --------
  687.       Comments, criticisms, and suggestions regarding the current product
  688.       and  possible future enhancements to CDn are welcome.   Please send
  689.       any communications  to  the  address or CompuServe account shown at
  690.       the end of this document.
  691.       
  692.       
  693.       DISCLAIMER
  694.       ----------
  695.       The   author  disclaims  all  warranties,  expressed  or   implied,
  696.       including  but not limited to implied warranties of merchantability
  697.       or  fitness  for  a particular purpose, with respect  to  CDn,  the
  698.       accompanying  documentation and any other  computer  programs  that
  699.       appear as part of the distribution package.  In no event shall  the
  700.       author   be  liable  for  any  damages,  direct  or  consequential,
  701.       resulting  from the use, misuse or inability to use  this  product,
  702.       even  if  the  author has been advised of the possibility  of  such
  703.       damages.
  704.       
  705.  
  706.  
  707.                                     page 12
  708.  
  709.       PROGRAMMER'S NOTES
  710.       ------------------
  711.       Both  CDn, CDnMEM and all the programs in the distribution  package
  712.       were  written  entirely in Assembly Language.   Why?   My  personal
  713.       feeling  is  that  small utilities should  BE  small.   Although  I
  714.       program  in  "C", xBASE and Assembly Language (MASM)  in  my  daily
  715.       work,  my favorite medium has always been MASM.  MASM is great  for
  716.       small  projects like this, however, there is a lot going on  inside
  717.       CDn-  it weighs in at just a little over 4000 lines of source code!
  718.       With  CDn,  execution speed is not very important so I concentrated
  719.       instead  on  keeping the on-disk size of the utility  as  small  as
  720.       possible, and MASM lets me keep very tight control of wasted space.
  721.       When  you register, you will receive a separately assembled version
  722.       of CDn which has the registration reminder screen function removed-
  723.       this shaves approximately 2000 bytes off the disk image.
  724.  
  725.       ACKNOWLEDGMENTS
  726.       ----------------
  727.       During  the development of this utility, several people  were  very
  728.       helpful  to  me  in  offering their unselfish  support,  ideas  and
  729.       camaraderie.  I would like to thank the following individuals:
  730.  
  731.       My wife, Cindy for encouragement, support and letting me work until
  732.                                the wolf's hour.
  733.  
  734.         Lawrence Couey of Novell Labs for pointing out in excruciating
  735.                           detail my biggest mistake.
  736.  
  737.       Brett Warthen of Infinite Technologies for his untiring support on
  738.                         the CompuServe Netwire forums.
  739.  
  740.       Steven Key of the University of Wisconsin-Whitewater for shining a
  741.              light on an area I thought was already bullet proof.
  742.  
  743.        Tom Ruby of Legal File Software for giving me an important clue
  744.                 if I had only been sharp enough to realize it.
  745.  
  746.                William D. Cotten for giving it the critical eye.
  747.  
  748.           Elaine Pate for providing a truly impressive test platform.
  749.  
  750.        Greg Horton of SMTEK, INC for believing in me and allowing me to
  751.                            make this utility public.
  752.  
  753.          All of the sysops on the Netwire forum for making it the best
  754.                           support forum in the world.
  755.  
  756.  
  757.                      The author of CDn can be reached at:
  758.  
  759.                                  Barry Brevik
  760.                                 711 Calle Cardo
  761.                            Thousand Oaks, CA  91360
  762.  
  763.                 or on CompuServe at:    CIS account 70132,2277
  764.               or on the Internet at:  70132.2277@compuserve.com.
  765.  
  766.                                     page 13
  767. *end of file
  768.  
  769.